@charset "UTF-8";

/**
 * @link https://ym2.cleverstone.top
 * @copyright Copyright (c) 2020 Yii Manager Software LLC
 */

.ym-spinner-mask {
    position: fixed;
    z-index: 99998;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0;
    filter: alpha(opacity=0);
    pointer-events: auto;
}

.ym-spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 100px;
    z-index: 99999;
    -webkit-user-select: none;
    user-select: none;
}

.ym-spinner-inner {
    width: 100%;
    height: 100%;
    position: relative;
    right: 90px;
    bottom: 50px;
    padding: 15px;
    border-radius: 4px;
    background-color: transparent;
    zoom: 1;

    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: .3s;
    animation-duration: .3s;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.ym-spinner-inner:after {
    display: block;
    clear: both;
    content: " ";
    visibility: hidden;
    height: 0;
}

.spinner-bounce-in .spinner-dialog {
    -webkit-animation-name: ym-bounce-in;
    animation-name: ym-bounce-in;
}

.spinner-bounce-close .spinner-dialog {
    -webkit-animation-name: ym-bounce-out;
    animation-name: ym-bounce-out;
}

.ym-spinner-inner-left {
    float: left;
    width: 30px;
    height: 30px;
}

.ym-spinner-inner-right {
    float: right;
    margin: 0;
    color: #333333;
    font-size: 12px;
    line-height: 35px;
    text-align: center;

    /* 新增 */
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes ym-bounce-in {
    0% {
        opacity: 0;
        -webkit-transform: scale(.5);
        -ms-transform: scale(.5);
        transform: scale(.5);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes ym-bounce-out {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(.5);
        -ms-transform: scale(.5);
        transform: scale(.5);
    }
}
